# Contribuitor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=wendy
pkgver=1.0
pkgrel=0
pkgdesc="Directory watcher based on inotify"
url="http://z3bra.org/wendy/"
arch="all"
license="ISC"
depends=""
makedepends="$depends"
subpackages="$pkgname-doc"
source="http://dl.z3bra.org/releases/wendy-1.0.tar.bz2
	fix-execvpe.patch
	"

builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
}

build() {
	cd "$builddir"
	make wendy || return 1 	
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR=$pkgdir \
	MANPREFIX=/usr/share/man \
	install || return 1
}

sha512sums="d4ad458e6c6f906bce4cfcaf1b6723ff0ebf05b664e2dafb549c0941f00b95407dcaf1fe18c4f1a6cadb31599db95ebd8641411e70cd90ef085507567b3facbd  wendy-1.0.tar.bz2
9990f677279f4e9743a676d6ef222ae57333213abac78ea4fe52d74661f8f5b5b8cc9adba897860d6f988afa8e111342028685410e1217c896c5fae4b577baab  fix-execvpe.patch"
